#include "serial_port.h"
#include "spiff.h"
#include "wifi.h"
 

void app_main(void)
{
    // Initialize NVS
    
    initNvs();
    init_spiffs();
    initSerialPort();
    initSerialPortQueue();
    xTaskCreate(queueConsumerTask,"queueConsumerTask", 1024*4, NULL, 1, NULL);
    // xTaskCreate(tx_task, "uart_tx_task", 1024 * 2, NULL, configMAX_PRIORITIES - 2, NULL);
    //xTaskCreate(rx_task, "uart_rx_task", 1024 * 2, NULL, configMAX_PRIORITIES - 1, NULL);
    
     wifi_init_sta();
   
}
